package com.koala.learn.excellearn.entity;


import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author yantingrui
 * @date 2022/5/7   15:30
 */
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Data
public class Worker extends Student {
    public Worker() {
        super();
    }

    public Worker(String name, Integer age, LocalDateTime birthday, String workId) {
        super(name, age, birthday);
        this.workId = workId;
    }

    @ExcelProperty(value = "workId")
    private String workId;
}
